package com.ylbh.modules.shopping_orderform.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ylbh.modules.shopping_orderform.entity.entityVo.ShoppingOrderformReturnVo;
import com.ylbh.modules.shopping_orderform.entity.entityVo.ShoppingOrderformVo;
import com.ylbh.modules.shopping_orderform.entity.ShoppingOrderformEntity;
import com.ylbh.modules.shopping_orderform.entity.entityVo.ShoppingOrderformVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-04-11 15:38:56
 */
@Mapper
@Repository
public interface ShoppingOrderformDao extends BaseMapper<ShoppingOrderformEntity> {

    List<ShoppingOrderformVo.orderListVo> orderList(Map<String, Object> param, Page page);

    ShoppingOrderformReturnVo selectByOrderId(@Param(value = "orderId") String orderNo);
}
